package com.wang.jmonkey.interceptor.property;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.boot.context.properties.ConfigurationProperties;


/**
 * @Description 拦截器配置信息
 * @Author HeJiawang
 * @Date 2021/5/20 13:01
 */
@Data
@Accessors(chain = true)
@ConfigurationProperties(prefix="jmonkey-interceptor")
public class InterceptorProperty {

    public final static String INTERCEPTOR_PROPERTY_PATH = "classpath:/interceptor.yml";

    /**
     * 登录用户信息拦截器配置信息
     */
    private LoginUserInterceptorProperty loginUserInterceptor = new LoginUserInterceptorProperty();

    /**
     * Controller拦截器配置信息
     */
    private ControllerInterceptorProperty controllerInterceptor = new ControllerInterceptorProperty();

    /**
     * 日志拦截器配置信息
     */
    private LogInterceptorProperty logInterceptor = new LogInterceptorProperty();

    /**
     * 分页工具拦截器配置信息
     */
    private PageInterceptorProperty pageInterceptor = new PageInterceptorProperty();
}
